Skip to main content
Version: Upcoming

SRAwayExecution

V8 Message Definiton

SpdrAwayExecution records are published by ToolServers, SRSE, and FIX drop recv gateways. They are consumed by AwayExecutionMarkupServer which, in turn, publishes corresponding SpdrParentExecution records, including M1 and M10 updates.

METADATA

AttributeValue
Topic1450-away-drop
MLink TokenClientTrading
ProductSRTrade
accessTypeSELECT
MLink EndpointMLink-Order

Table Definition

FieldTypeKeyDefault ValueComment
accntVARCHAR(16)PRI, SEC''SR accnt
clientFillIdBIGINTPRI0client fill ID should be unique for each accnt
clientFirmVARCHAR(16)PRI, SEC''SR client firm
fillNumberBIGINTSEC0SpiderRock execution number globally unique over trailing 10 days copied in SpdrParentExecutionpkeyfillNumber
engineNameVARCHAR(32)''
spdrSourceenum - SpdrSource'None'SR source code
execStatusenum - ExecStatus'None'SR execution status FillBustCorrectReject
clientOrderIdVARCHAR(24)''client order ID should be unique for each clientFirm if any copied into SpdrParentExecutionaltOrderId
srcRoutingCodeTINYTEXT''inbound FIX routing code drop server if any
riskGroupIdCHAR(19)'0000-0000-0000-0000'riskGroupId parent order group ID for this away execution report will be incorporated into a corresponding EE risk group counter if 0
secKey_atenum - AssetType'None'SR security key
secKey_tsenum - TickerSrc'None'SR security key
secKey_tkVARCHAR(12)''SR security key
secKey_yrSMALLINT UNSIGNED0SR security key
secKey_mnTINYINT UNSIGNED0SR security key
secKey_dyTINYINT UNSIGNED0SR security key
secKey_xxDOUBLE0SR security key
secKey_cpenum - CallPut'Call'SR security key
secTypeenum - SpdrKeyType'None'SR security type Stock Future Option
execRoleenum - ExecRole'None'SpiderRock relationship to this execution record
extExecBrokerVARCHAR(16)''Client execBroker code
fillSideenum - BuySell'None'fill side
fillPriceDOUBLE0fill price
fillPriceTypeenum - PriceType'Explicit'
fillQuantityINT0fill quantity
childSizeINT0child order size
fillExchVARCHAR(6)''fill exchange if any
fillDttmDATETIME(6)'1900-01-01 00:00:00.000000'fill datetime
fillRefUPrcDOUBLE0reference underlier price fill arrival time
origExecIDTINYTEXT''original execution ID string child order
lastExecIDTINYTEXT''most recent execution ID same as origExecID unless CANCELCORRECTION has been processed
fillTransactDttmDATETIME(6)'1900-01-01 00:00:00.000000'transaction datetime as reported by exchange or down stream broker
fillReportDetailTINYTEXT''extra detail if any from child execution
ssaleFlagenum - ShortSaleFlag'None'
positionTypeenum - PositionType'None'
theoVolFLOAT0client supplied theoretical volatility used for markup only
commentTINYTEXT''text comment if any
userData1TINYTEXT''client supplied data field passes through to parent and child executions and reports as well as FIX drops
userData2TINYTEXT''client supplied data field passes through to parent and child executions and reports as well as FIX drops
strategyVARCHAR(36)''clientsupplied strategy string
modifiedByVARCHAR(24)''user who last modified this record
modifiedInenum - SysEnvironment'None'
timestampDATETIME(6)'1900-01-01 00:00:00.000000'timestamp of last modification

PRIMARY KEY DEFINITION (Unique)

FieldSequence
accnt1
clientFillId2
clientFirm3

SECONDARY INDEX (AccntIndex) (Not Unique)

FieldSequence
accnt1

SECONDARY INDEX (ClientFirmIndex) (Not Unique)

FieldSequence
clientFirm1

SECONDARY INDEX (FillNumberIndex) (Not Unique)

FieldSequence
fillNumber1

SELECT TABLE EXAMPLE QUERY

SELECT *
FROM `SRTrade`.`MsgSRAwayExecution`
WHERE
/* Replace with a VARCHAR(16) */
`accnt` = 'Example_accnt'
AND
/* Replace with a BIGINT */
`clientFillId` = 1234567890
AND
/* Replace with a VARCHAR(16) */
`clientFirm` = 'Example_clientFirm';

Doc Columns Query

SELECT * FROM SRTrade.doccolumns WHERE TABLE_NAME='SRAwayExecution' ORDER BY ordinal_position ASC;